package iface;

/**
 * @author:WIN10
 * @date:2022/1/17
 * @describe:
 */
public class MainTest {

    public static void main(String[] args) {
        Ink printer = new ColorPrinter();
        Ink prt = new BlackPrinter();
        printer.packageInk();
        prt.packageInk();

        Ink ink = Factory.packagePrinter();
        ink.packageInk();
    }
}
